The location of this file. If the path is relative, then the file is within the package. If the path is an absolute URL, then the file is not included in the package.
Parent Type: FileNodeReader
Namespace: Microsoft.LearningComponents.Manifest
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public Uri Location { get; } |
| Exception type | Condition |
| InvalidPackageException | Parsing mode is |
If the <file>/href is relative, this value is built relative to the xml:base attributes on the <manifest>, <resources>, and <resource> nodes.
If the href attribute does not exist on the <file> node, and parsing mode is ManifestReaderSettings.FixScormRequirementViolations=true, a warning is logged and the value null is returned.
The location is resolved with the xml:base attributes on the manifest, resources, and resource nodes.